home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / os2 / pccts.zip / DLG_A.C < prev    next >
C/C++ Source or Header  |  1992-12-08  |  14KB  |  755 lines

  1.  
  2. /* parser.dlg -- DLG Description of scanner
  3.  *
  4.  * Generated from: dlg_p.g
  5.  *
  6.  * Terence Parr, Hank Dietz and Will Cohen: 1989-1992
  7.  * Purdue University Electrical Engineering
  8.  * ANTLR Version 1.06
  9.  */
  10. #include <stdio.h>
  11. #include <ctype.h>
  12. #include "dlg.h"
  13. #ifdef MEMCHK
  14. #include "trax.h"
  15. #else
  16. extern char *malloc();
  17. extern char *calloc();
  18. #endif
  19. #include "antlr.h"
  20. #include "tokens.h"
  21. #include "dlgdef.h"
  22. LOOKAHEAD
  23. void zzerraction()
  24. {
  25.     (*zzerr)("invalid token");
  26.     zzadvance();
  27.     zzskip();
  28. }
  29. /*
  30.  * D L G tables
  31.  *
  32.  * Generated from: parser.dlg
  33.  *
  34.  * 1989-1992 by  Will Cohen, Terence Parr, and Hank Dietz
  35.  * Purdue University Electrical Engineering
  36.  * DLG Version 1.06
  37.  */
  38.  
  39. #include "mode.h"
  40.  
  41.  
  42.  
  43. #include "dlgdef.h"
  44. int    func_action;        /* should actions be turned into functions?*/
  45. int    lex_mode_counter = 0;    /* keeps track of the number of %%names */
  46. static void
  47. act1()
  48.         NLA = 1;
  49.     }
  50.  
  51. static void
  52. act2()
  53.         NLA = 2;
  54.         zzskip();   
  55.     }
  56.  
  57. static void
  58. act3()
  59.         NLA = 3;
  60.         zzline++; zzskip();   
  61.     }
  62.  
  63. static void
  64. act4()
  65.         NLA = L_EOF;
  66.     }
  67.  
  68. static void
  69. act5()
  70.         NLA = PER_PER;
  71.     }
  72.  
  73. static void
  74. act6()
  75.         NLA = NAME_PER_PER;
  76.         p_mode_def(&zzlextext[2],lex_mode_counter++);   
  77.     }
  78.  
  79. static void
  80. act7()
  81.         NLA = ACTION;
  82.         if (func_action)
  83.         fprintf(OUT,"static void\nact%d()\n{ ", ++action_no);
  84.         zzmode(ACT); zzskip();
  85.     }
  86.  
  87. static void
  88. act8()
  89.         NLA = GREAT_GREAT;
  90.     }
  91.  
  92. static void
  93. act9()
  94.         NLA = L_BRACE;
  95.     }
  96.  
  97. static void
  98. act10()
  99.         NLA = R_BRACE;
  100.     }
  101.  
  102. static void
  103. act11()
  104.         NLA = L_PAR;
  105.     }
  106.  
  107. static void
  108. act12()
  109.         NLA = R_PAR;
  110.     }
  111.  
  112. static void
  113. act13()
  114.         NLA = L_BRACK;
  115.     }
  116.  
  117. static void
  118. act14()
  119.         NLA = R_BRACK;
  120.     }
  121.  
  122. static void
  123. act15()
  124.         NLA = ZERO_MORE;
  125.     }
  126.  
  127. static void
  128. act16()
  129.         NLA = ONE_MORE;
  130.     }
  131.  
  132. static void
  133. act17()
  134.         NLA = OR;
  135.     }
  136.  
  137. static void
  138. act18()
  139.         NLA = RANGE;
  140.     }
  141.  
  142. static void
  143. act19()
  144.         NLA = NOT;
  145.     }
  146.  
  147. static void
  148. act20()
  149.         NLA = OCTAL_VALUE;
  150.         {int t; sscanf(&zzlextext[1],"%o",&t); zzlextext[0] = t;}  
  151.     }
  152.  
  153. static void
  154. act21()
  155.         NLA = HEX_VALUE;
  156.         {int t; sscanf(&zzlextext[1],"%x",&t); zzlextext[0] = t;}  
  157.     }
  158.  
  159. static void
  160. act22()
  161.         NLA = DEC_VALUE;
  162.         {int t; sscanf(&zzlextext[1],"%d",&t); zzlextext[0] = t;}  
  163.     }
  164.  
  165. static void
  166. act23()
  167.         NLA = TAB;
  168.         zzlextext[0] = '\t';  
  169.     }
  170.  
  171. static void
  172. act24()
  173.         NLA = NL;
  174.         zzlextext[0] = '\n';  
  175.     }
  176.  
  177. static void
  178. act25()
  179.         NLA = CR;
  180.         zzlextext[0] = '\r';  
  181.     }
  182.  
  183. static void
  184. act26()
  185.         NLA = BS;
  186.         zzlextext[0] = '\b';  
  187.     }
  188.  
  189. static void
  190. act27()
  191.         NLA = LIT;
  192.         zzlextext[0] = zzlextext[1];  
  193.     }
  194.  
  195. static void
  196. act28()
  197.         NLA = REGCHAR;
  198.     }
  199.  
  200. unsigned char shift0[257] = {
  201.   0, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  202.   1, 2, 29, 29, 1, 29, 29, 29, 29, 29, 
  203.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  204.   29, 29, 29, 1, 29, 29, 29, 29, 4, 29, 
  205.   29, 19, 20, 23, 24, 29, 26, 29, 29, 12, 
  206.   13, 13, 13, 13, 13, 13, 13, 14, 14, 29, 
  207.   29, 15, 29, 16, 29, 3, 7, 7, 7, 7, 
  208.   7, 7, 11, 11, 11, 11, 11, 11, 11, 11, 
  209.   11, 11, 11, 11, 11, 11, 11, 11, 11, 5, 
  210.   11, 11, 21, 28, 22, 29, 11, 29, 7, 6, 
  211.   7, 7, 7, 7, 11, 11, 11, 11, 11, 11, 
  212.   11, 9, 11, 11, 11, 10, 11, 8, 11, 11, 
  213.   11, 5, 11, 11, 17, 25, 18, 27, 29, 29, 
  214.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  215.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  216.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  217.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  218.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  219.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  220.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  221.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  222.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  223.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  224.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  225.   29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 
  226.   29, 29, 29, 29, 29, 29, 30
  227. };
  228.  
  229. static void
  230. act29()
  231.         NLA = 1;
  232.         error("unterminated action", zzline); zzmode(START);   
  233.     }
  234.  
  235. static void
  236. act30()
  237.         NLA = ACTION;
  238.         if (func_action) fprintf(OUT,"}\n\n");
  239.         zzmode(START);
  240.     }
  241.  
  242. static void
  243. act31()
  244.         NLA = 29;
  245.         putc(zzlextext[0], OUT); zzskip();   
  246.     }
  247.  
  248. static void
  249. act32()
  250.         NLA = 30;
  251.         putc('>', OUT); zzskip();   
  252.     }
  253.  
  254. static void
  255. act33()
  256.         NLA = 31;
  257.         putc('\\', OUT); zzskip();   
  258.     }
  259.  
  260. static void
  261. act34()
  262.         NLA = 32;
  263.         putc(zzlextext[0], OUT); ++zzline; zzskip();   
  264.     }
  265.  
  266. static void
  267. act35()
  268.         NLA = 33;
  269.         fprintf(OUT, "%s", &(zzlextext[0])); zzskip();   
  270.     }
  271.  
  272. unsigned char shift1[257] = {
  273.   0, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  274.   4, 3, 4, 4, 4, 4, 4, 4, 4, 4, 
  275.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  276.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  277.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  278.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  279.   4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 
  280.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  281.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  282.   4, 4, 4, 2, 4, 4, 4, 4, 4, 4, 
  283.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  284.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  285.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  286.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  287.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  288.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  289.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  290.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  291.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  292.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  293.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  294.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  295.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  296.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  297.   4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 
  298.   4, 4, 4, 4, 4, 4, 5
  299. };
  300.  
  301. #define DfaStates    46
  302. typedef unsigned char DfaState;
  303.  
  304. static DfaState st0[31] = {
  305.   1, 2, 3, 4, 5, 6, 6, 6, 6, 6, 
  306.   6, 6, 6, 6, 6, 7, 8, 9, 10, 11, 
  307.   12, 13, 14, 15, 16, 17, 18, 19, 20, 6, 
  308.   46
  309. };
  310.  
  311. static DfaState st1[31] = {
  312.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  313.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  314.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  315.   46
  316. };
  317.  
  318. static DfaState st2[31] = {
  319.   46, 21, 46, 46, 46, 46, 46, 46, 46, 46, 
  320.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  321.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  322.   46
  323. };
  324.  
  325. static DfaState st3[31] = {
  326.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  327.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  328.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  329.   46
  330. };
  331.  
  332. static DfaState st4[31] = {
  333.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  334.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  335.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  336.   46
  337. };
  338.  
  339. static DfaState st5[31] = {
  340.   46, 46, 46, 46, 22, 46, 46, 46, 46, 46, 
  341.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  342.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  343.   46
  344. };
  345.  
  346. static DfaState st6[31] = {
  347.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  348.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  349.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  350.   46
  351. };
  352.  
  353. static DfaState st7[31] = {
  354.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  355.   46, 46, 46, 46, 46, 23, 46, 46, 46, 46, 
  356.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  357.   46
  358. };
  359.  
  360. static DfaState st8[31] = {
  361.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  362.   46, 46, 46, 46, 46, 46, 24, 46, 46, 46, 
  363.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  364.   46
  365. };
  366.  
  367. static DfaState st9[31] = {
  368.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  369.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  370.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  371.   46
  372. };
  373.  
  374. static DfaState st10[31] = {
  375.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  376.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  377.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  378.   46
  379. };
  380.  
  381. static DfaState st11[31] = {
  382.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  383.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  384.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  385.   46
  386. };
  387.  
  388. static DfaState st12[31] = {
  389.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  390.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  391.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  392.   46
  393. };
  394.  
  395. static DfaState st13[31] = {
  396.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  397.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  398.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  399.   46
  400. };
  401.  
  402. static DfaState st14[31] = {
  403.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  404.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  405.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  406.   46
  407. };
  408.  
  409. static DfaState st15[31] = {
  410.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  411.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  412.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  413.   46
  414. };
  415.  
  416. static DfaState st16[31] = {
  417.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  418.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  419.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  420.   46
  421. };
  422.  
  423. static DfaState st17[31] = {
  424.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  425.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  426.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  427.   46
  428. };
  429.  
  430. static DfaState st18[31] = {
  431.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  432.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  433.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  434.   46
  435. };
  436.  
  437. static DfaState st19[31] = {
  438.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  439.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  440.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  441.   46
  442. };
  443.  
  444. static DfaState st20[31] = {
  445.   46, 25, 25, 25, 25, 25, 26, 25, 27, 28, 
  446.   29, 25, 30, 31, 31, 25, 25, 25, 25, 25, 
  447.   25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 
  448.   46
  449. };
  450.  
  451. static DfaState st21[31] = {
  452.   46, 21, 46, 46, 46, 46, 46, 46, 46, 46, 
  453.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  454.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  455.   46
  456. };
  457.  
  458. static DfaState st22[31] = {
  459.   46, 46, 46, 46, 46, 32, 32, 32, 32, 32, 
  460.   32, 32, 46, 46, 46, 46, 46, 46, 46, 46, 
  461.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  462.   46
  463. };
  464.  
  465. static DfaState st23[31] = {
  466.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  467.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  468.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  469.   46
  470. };
  471.  
  472. static DfaState st24[31] = {
  473.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  474.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  475.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  476.   46
  477. };
  478.  
  479. static DfaState st25[31] = {
  480.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  481.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  482.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  483.   46
  484. };
  485.  
  486. static DfaState st26[31] = {
  487.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  488.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  489.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  490.   46
  491. };
  492.  
  493. static DfaState st27[31] = {
  494.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  495.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  496.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  497.   46
  498. };
  499.  
  500. static DfaState st28[31] = {
  501.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  502.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  503.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  504.   46
  505. };
  506.  
  507. static DfaState st29[31] = {
  508.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  509.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  510.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  511.   46
  512. };
  513.  
  514. static DfaState st30[31] = {
  515.   46, 46, 46, 46, 46, 33, 46, 46, 46, 46, 
  516.   46, 46, 34, 34, 46, 46, 46, 46, 46, 46, 
  517.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  518.   46
  519. };
  520.  
  521. static DfaState st31[31] = {
  522.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  523.   46, 46, 35, 35, 35, 46, 46, 46, 46, 46, 
  524.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  525.   46
  526. };
  527.  
  528. static DfaState st32[31] = {
  529.   46, 46, 46, 46, 46, 36, 36, 36, 36, 36, 
  530.   36, 36, 36, 36, 36, 46, 46, 46, 46, 46, 
  531.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  532.   46
  533. };
  534.  
  535. static DfaState st33[31] = {
  536.   46, 46, 46, 46, 46, 46, 37, 37, 46, 46, 
  537.   46, 46, 37, 37, 37, 46, 46, 46, 46, 46, 
  538.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  539.   46
  540. };
  541.  
  542. static DfaState st34[31] = {
  543.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  544.   46, 46, 34, 34, 46, 46, 46, 46, 46, 46, 
  545.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  546.   46
  547. };
  548.  
  549. static DfaState st35[31] = {
  550.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  551.   46, 46, 35, 35, 35, 46, 46, 46, 46, 46, 
  552.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  553.   46
  554. };
  555.  
  556. static DfaState st36[31] = {
  557.   46, 46, 46, 46, 46, 36, 36, 36, 36, 36, 
  558.   36, 36, 36, 36, 36, 46, 46, 46, 46, 46, 
  559.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  560.   46
  561. };
  562.  
  563. static DfaState st37[31] = {
  564.   46, 46, 46, 46, 46, 46, 37, 37, 46, 46, 
  565.   46, 46, 37, 37, 37, 46, 46, 46, 46, 46, 
  566.   46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 
  567.   46
  568. };
  569.  
  570. static DfaState st38[6] = {
  571.   39, 40, 41, 42, 43, 46
  572. };
  573.  
  574. static DfaState st39[6] = {
  575.   46, 46, 46, 46, 46, 46
  576. };
  577.  
  578. static DfaState st40[6] = {
  579.   46, 44, 46, 46, 46, 46
  580. };
  581.  
  582. static DfaState st41[6] = {
  583.   46, 45, 46, 46, 46, 46
  584. };
  585.  
  586. static DfaState st42[6] = {
  587.   46, 46, 46, 46, 46, 46
  588. };
  589.  
  590. static DfaState st43[6] = {
  591.   46, 46, 46, 46, 43, 46
  592. };
  593.  
  594. static DfaState st44[6] = {
  595.   46, 46, 46, 46, 46, 46
  596. };
  597.  
  598. static DfaState st45[6] = {
  599.   46, 46, 46, 46, 46, 46
  600. };
  601.  
  602.  
  603. DfaState *dfa[46] = {
  604.     st0,
  605.     st1,
  606.     st2,
  607.     st3,
  608.     st4,
  609.     st5,
  610.     st6,
  611.     st7,
  612.     st8,
  613.     st9,
  614.     st10,
  615.     st11,
  616.     st12,
  617.     st13,
  618.     st14,
  619.     st15,
  620.     st16,
  621.     st17,
  622.     st18,
  623.     st19,
  624.     st20,
  625.     st21,
  626.     st22,
  627.     st23,
  628.     st24,
  629.     st25,
  630.     st26,
  631.     st27,
  632.     st28,
  633.     st29,
  634.     st30,
  635.     st31,
  636.     st32,
  637.     st33,
  638.     st34,
  639.     st35,
  640.     st36,
  641.     st37,
  642.     st38,
  643.     st39,
  644.     st40,
  645.     st41,
  646.     st42,
  647.     st43,
  648.     st44,
  649.     st45
  650. };
  651.  
  652.  
  653. DfaState accepts[46] = {
  654.   0, 1, 2, 3, 4, 28, 28, 28, 28, 9, 
  655.   10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 
  656.   0, 2, 5, 7, 8, 27, 26, 23, 24, 25, 
  657.   20, 22, 6, 0, 20, 22, 6, 21, 0, 29, 
  658.   31, 33, 34, 35, 30, 32
  659. };
  660.  
  661. void (*actions[36])() = {
  662.     zzerraction,
  663.     act1,
  664.     act2,
  665.     act3,
  666.     act4,
  667.     act5,
  668.     act6,
  669.     act7,
  670.     act8,
  671.     act9,
  672.     act10,
  673.     act11,
  674.     act12,
  675.     act13,
  676.     act14,
  677.     act15,
  678.     act16,
  679.     act17,
  680.     act18,
  681.     act19,
  682.     act20,
  683.     act21,
  684.     act22,
  685.     act23,
  686.     act24,
  687.     act25,
  688.     act26,
  689.     act27,
  690.     act28,
  691.     act29,
  692.     act30,
  693.     act31,
  694.     act32,
  695.     act33,
  696.     act34,
  697.     act35
  698. };
  699.  
  700. static int dfa_base[] = {
  701.     0,
  702.     38
  703. };
  704.  
  705. static int dfa_class_no[] = {
  706.     30,
  707.     5
  708. };
  709.  
  710. static unsigned char *b_class_no[] = {
  711.     shift0,
  712.     shift1
  713. };
  714.  
  715.  
  716.  
  717. #define ZZSHIFT(c) (b_class_no[zzauto][1+c])
  718. #define MAX_MODE 2
  719. #include "dlgauto.h"
  720.